Trace errors on villagers' phones with source maps, logs and an error monitor at the old wartel. 15 levels, played right in the browser with nothing to install.
What the levels ask
The Cheap Market Coupon app always works on Ms. Rani's laptop, yet Mrs. Sari's phone goes blank the moment she taps her name. Pantau, the error monitor Rani set up, receives its stack trace: every position in it is in the minified app.*.js bundle. The build's source map is on the laptop. Pick the position to look up in the map so Rani lands on the original line that threw.
Yesterday Rani fixed the line the map pointed at for Mrs. Sari's phone and shipped Thursday's build. This morning Mr. Tono's old phone still goes blank when he taps his name. The dist folder on her laptop holds the maps of the last three builds: Tuesday, Wednesday and Thursday. Read Mr. Tono's stack trace with the right map and find the line that really threw.
Bagas comes in holding out his phone: in DevTools he can read all of the Cheap Market Coupon app's code, Rani's comments on each neighbourhood's quota included. The source maps were shipped to the hosting too. Change Rani's build script in its two holes. Pantau must still read errors down to their code line, but no map may reach anyone's phone. The Uji Pantau button in the app throws one test error.
The Neighbourhood 03 board on the neighbourhood head's phone shows more than three thousand packages, while Neighbourhood 03 is only five households. Rani plugs the neighbourhood head's phone into her laptop with a cable and opens its console through chrome://inspect. Fill the print line in totalRT so the five households' names and counts can be read at a glance.
Ms. Wulan helps elderly villagers register at the post office. Before the data goes to the hall, she wants the coupons whose count is not a whole number, per neighbourhood. Fill the three holes in periksaJumlah: the console must show one group for each neighbourhood, and inside it only the wrong coupons.
Mrs. Yanti's registration failed once out of the three times she tried, right when Mr. Bayu, Mr. Harun and Ms. Wulan were registering too. The log at Pantau is a jumble. Fill the logger's context in kirimDaftar: every log line must carry something that lets all the lines of one request be followed, from mulai to gagal.
Pantau on Rani's laptop prints every log line on the wartel's old printer. Mr. Bayu, a bank teller, reads the receipt and finds his own NIK and phone number. Fill the daftar line in kirimDaftar: the log must still be enough to check a registration (household, neighbourhood, count), and not a single NIK or phone number may reach Pantau.
Mrs. Ijah's phone goes blank when she presses Kirim, while on Rani's laptop the same flow always works. Pantau can keep breadcrumbs: small notes of the steps before an error, the last eight at most. Pick the kinds of crumbs it records so Mrs. Ijah's error report shows the step that broke it.
Ms. Tiwi from the district drops by the wartel: last night Pantau received 300 reports from villagers' phones, Android and iPhone, from Thursday's and Friday's builds. The district wants to know how many problems there really are. Pick the fingerprint Pantau groups reports by: every problem one group, and no group holding two problems.
Mr. Harun presses Kirim pendaftaran and the spinner never stops. Pantau receives nothing. The server is indeed refusing (503), and cekStatus throws inside a Promise chain. Fill pasangPantau so errors like this one reach Pantau.
Mrs. Lastri opens the Neighbourhood 03 coupon page and all she sees is white. One coupon, Mr. Karim's, has no package yet, and Kartu fails while drawing it. Pick where <Pengaman> (an error boundary) goes so one broken card does not wipe the whole page: the title, the notes box and the other villagers' cards stay on screen.
The village office has filled in Mr. Karim's package. He opens the Neighbourhood 03 coupon page on his phone and is typing a pickup note, while his card still shows the fallback. Fill Pengaman's fallback so Mr. Karim can try again and his card shows with the new data, without losing his note.