01:22:31  * mezodquit (Remote host closed the connection)
01:37:01  * mezodjoined
01:38:07  * mezodquit (Remote host closed the connection)
04:02:12  <x7C3>hi hi, how can i customize a 404 response with koa?
04:02:40  <x7C3>as in, a non-existent route responding with json + status:400
04:08:22  <x7C3>nevermind, figured it out
04:08:31  <x7C3>404 specific middleware needs to be after all routes
05:16:18  * n_ttquit (Remote host closed the connection)
05:16:51  * n_ttjoined
06:07:32  * n_ttquit (Remote host closed the connection)
06:28:10  <danneu>x7C3: nah, can just go `await next(); if ctx.status === 404 then respond this way `
06:30:22  <danneu>await next() is a big part of koa middleware in that the rest of the middleware logic will run once the response is bubbling back up the chain
10:16:49  <x7C3>huh that also works
10:27:02  * McJesisquit (Quit: ZNC - http://znc.in)
10:53:52  * mezodjoined
11:54:54  * mezodquit (Remote host closed the connection)
13:10:54  * SuperHansjoined
13:37:36  * mezodjoined
14:26:02  * n_ttjoined
15:05:07  * animaljoined
15:11:44  * n_ttquit (Remote host closed the connection)
15:16:10  * animalquit (Quit: Page closed)
15:27:06  * SuperHansquit (Remote host closed the connection)
16:29:11  * SuperHansjoined
16:50:52  * SuperHansquit (Remote host closed the connection)
17:17:53  * Cohedrin_joined
17:35:27  * Cohedrin_quit (Read error: Connection reset by peer)
17:36:16  * Cohedrin_joined
17:38:20  * SuperHansjoined
19:46:12  * SuperHansquit (Ping timeout: 260 seconds)
20:07:56  * SuperHansjoined
20:13:56  * SuperHansquit (Remote host closed the connection)
20:18:31  * SuperHansjoined
20:52:25  * Cohedrin_quit (Read error: Connection reset by peer)
20:55:01  * Cohedrin_joined
21:14:22  * SuperHansquit (Remote host closed the connection)
21:14:57  * SuperHansjoined
21:16:20  * mezodquit (Remote host closed the connection)
21:19:05  * SuperHansquit (Ping timeout: 240 seconds)
21:41:14  * mezodjoined