this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix car upload and make an error message nicer

phil a82578e5 465337a2

+1 -5
-4
shared/challenges_markdown/three/part_two.md
··· 35 35 alert('Are sending a car or a damn truck??? (max 2MB)'); 36 36 return; 37 37 } 38 - input.files = file instanceof FileList ? file : new DataTransfer().files; 39 - if (!(input.files && input.files[0])) { 40 - // DataTransfer trick didn't work, set via the drop path 41 - } 42 38 label.classList.add('hidden'); 43 39 fileName.classList.remove('hidden'); 44 40 fileName.textContent = 'Uploading ' + file.name + '...';
+1 -1
shared/src/advent/challenges/day_three/repo.rs
··· 98 98 let record = repo 99 99 .get_raw(&key) 100 100 .await? 101 - .ok_or(CarFail::BadCar("missing record".into()))?; 101 + .ok_or(CarFail::BadCar("Missing record. Double-check the collection and rkey?".into()))?; 102 102 103 103 Ok(record) 104 104 }