Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/koajs/onerror
an error handler for koa, hack ctx.onerror
https://github.com/koajs/onerror
Release 4.2.0
aa2907daddca77f5ec4960611337f5f1fc891bda authored almost 3 years ago by fengmk2 <[email protected]>
aa2907daddca77f5ec4960611337f5f1fc891bda authored almost 3 years ago by fengmk2 <[email protected]>
feat: stringify err object on non-error (#36)
The `err` may be an object and the error message would print as `nodejs.Error: non-error thrown:...
9a899f58f65a2964cbf4f99793887623b4e01c5e authored almost 3 years ago by 弘树@阿里 <[email protected]>
Release 4.1.0
9fdb665d98b099ecc67f08c4d1bedd03d5c69758 authored over 6 years ago by fengmk2 <[email protected]>
9fdb665d98b099ecc67f08c4d1bedd03d5c69758 authored over 6 years ago by fengmk2 <[email protected]>
fix: the req data should be consumed on error (#33)
closes https://github.com/eggjs/egg/issues/2897
d4291c29319dee23d745bb7f7a37ca1e86741691 authored over 6 years ago by fengmk2 <[email protected]>
Release 4.0.1
7ce47c61fb434ca7da48a1600525839b5206413d authored over 6 years ago by fengmk2 <[email protected]>
7ce47c61fb434ca7da48a1600525839b5206413d authored over 6 years ago by fengmk2 <[email protected]>
fix: escape unsafe characters in html response
46a79ddcf81434dd2974ed7906f67ca4674dbf52 authored over 6 years ago by Simon Ratner <[email protected]>
46a79ddcf81434dd2974ed7906f67ca4674dbf52 authored over 6 years ago by Simon Ratner <[email protected]>
Release 4.0.0
052fea13b77989352bfaf5cde8bd4561d77eec6c authored about 7 years ago by dead-horse <[email protected]>
052fea13b77989352bfaf5cde8bd4561d77eec6c authored about 7 years ago by dead-horse <[email protected]>
refactor: support koa 2 (#27)
df878e4605c91aa55489a249c4093642f16ce96b authored about 7 years ago by Yiyu He <[email protected]>
df878e4605c91aa55489a249c4093642f16ce96b authored about 7 years ago by Yiyu He <[email protected]>
Release 3.1.0
edfff234ce93f6bb7ad9271b0ac768b90f4aeb0b authored almost 8 years ago by dead-horse <[email protected]>
edfff234ce93f6bb7ad9271b0ac768b90f4aeb0b authored almost 8 years ago by dead-horse <[email protected]>
feat: can reach err.headerSent in app error listener (#23)
a454755e2ee499a9a8d833b1866ccafadd6352da authored almost 8 years ago by Yiyu He <[email protected]>
a454755e2ee499a9a8d833b1866ccafadd6352da authored almost 8 years ago by Yiyu He <[email protected]>
feat: non-error wrapper support status and headers (#22)
3097862346905630b778789f5dcd4f0b06d36789 authored almost 8 years ago by Yiyu He <[email protected]>
3097862346905630b778789f5dcd4f0b06d36789 authored almost 8 years ago by Yiyu He <[email protected]>
Release 3.0.2
7a45ad7245f42cb1cef15b439a00c43bda4cc4ab authored almost 8 years ago by dead-horse <[email protected]>
7a45ad7245f42cb1cef15b439a00c43bda4cc4ab authored almost 8 years ago by dead-horse <[email protected]>
fix: try to restore non Error instance properties (#20)
d898b21440c948b7e6eb610a92254dcdb8e75460 authored almost 8 years ago by fengmk2 <[email protected]>
d898b21440c948b7e6eb610a92254dcdb8e75460 authored almost 8 years ago by fengmk2 <[email protected]>
fix: change the koa-error url (#17)
ebe39bcbb0ccbfed86ad4d38ab05e87acb8cdf8d authored about 8 years ago by Desen Meng <[email protected]>
ebe39bcbb0ccbfed86ad4d38ab05e87acb8cdf8d authored about 8 years ago by Desen Meng <[email protected]>
Release 3.0.1
f2910e8ef2aa56b82d98b845568e1729bc6b6a2d authored about 8 years ago by dead_horse <[email protected]>
f2910e8ef2aa56b82d98b845568e1729bc6b6a2d authored about 8 years ago by dead_horse <[email protected]>
fix: use absolute path (#16)
85186f76f5ce7406b8c2c5647dba87d2e66a058e authored about 8 years ago by Haoliang Gao <[email protected]>
85186f76f5ce7406b8c2c5647dba87d2e66a058e authored about 8 years ago by Haoliang Gao <[email protected]>
Release 3.0.0
dc2d33960a82acfb406a7c609acabacd152419f9 authored about 8 years ago by dead_horse <[email protected]>
dc2d33960a82acfb406a7c609acabacd152419f9 authored about 8 years ago by dead_horse <[email protected]>
fix: Send default text/plain body if message is undefined
e8ea0f62b9a5ebda48f40d5bb3ee136c25b0276e authored about 8 years ago by dead_horse <[email protected]>
e8ea0f62b9a5ebda48f40d5bb3ee136c25b0276e authored about 8 years ago by dead_horse <[email protected]>
fix: lint
70ca64494230a14ad7935a7b41ebff6672134cb0 authored about 8 years ago by dead_horse <[email protected]>
70ca64494230a14ad7935a7b41ebff6672134cb0 authored about 8 years ago by dead_horse <[email protected]>
refactor: remove nunjucks
6aa55e770041632924499000fa28e586e68f125e authored about 8 years ago by dead_horse <[email protected]>
6aa55e770041632924499000fa28e586e68f125e authored about 8 years ago by dead_horse <[email protected]>
Release 2.1.0
9e81673cb575fc89139f9baecfc416a1b381a9b1 authored about 8 years ago by dead_horse <[email protected]>
9e81673cb575fc89139f9baecfc416a1b381a9b1 authored about 8 years ago by dead_horse <[email protected]>
fix: don't throw when non-error object passed (#15)
b0a621aaa29efcfecf6e864dad1b14c7685a6913 authored about 8 years ago by Yiyu He <[email protected]>
b0a621aaa29efcfecf6e864dad1b14c7685a6913 authored about 8 years ago by Yiyu He <[email protected]>
Return reference to app (#7)
Allows for a more fluid interface, for example:
```
let app = error(koa(), {...});
```
Release 2.0.0
49607676e8837946f931f2229d58a1e6143a3223 authored over 8 years ago by dead_horse <[email protected]>
49607676e8837946f931f2229d58a1e6143a3223 authored over 8 years ago by dead_horse <[email protected]>
Merge pull request #11 from koajs/use-nunjucks-instead-of-swig
refactor: use nunjucks instead of swig
c5796895b65e75e4acf1433ff90fc30d46e32173 authored over 8 years ago by Yiyu He <[email protected]>
refactor: use nunjucks instead of swig
- swig is no longer maintained https://github.com/paularmstrong/swig/issues/628
- and it contain...
test: 0.12 / 4 / 5
1940963914d4a1fb5a610edf9c037bbca622bf86 authored almost 9 years ago by dead_horse <[email protected]>
1940963914d4a1fb5a610edf9c037bbca622bf86 authored almost 9 years ago by dead_horse <[email protected]>
Release 1.3.1
940e39e943ecbb91a57dbe204be38f1022344af2 authored almost 9 years ago by dead_horse <[email protected]>
940e39e943ecbb91a57dbe204be38f1022344af2 authored almost 9 years ago by dead_horse <[email protected]>
fix: only unset text headers
3b56b4e57078df7afd08d3b1c27f5b03c1f15f47 authored almost 9 years ago by dead_horse <[email protected]>
3b56b4e57078df7afd08d3b1c27f5b03c1f15f47 authored almost 9 years ago by dead_horse <[email protected]>
Release 1.3.0
33fee7b4c46473c531588880346f767de2bdbc23 authored almost 9 years ago by dead_horse <[email protected]>
33fee7b4c46473c531588880346f767de2bdbc23 authored almost 9 years ago by dead_horse <[email protected]>
chore: readme
60e1e419b3496efa3081bf01c051d082c2806276 authored almost 9 years ago by dead_horse <[email protected]>
60e1e419b3496efa3081bf01c051d082c2806276 authored almost 9 years ago by dead_horse <[email protected]>
feat: support set err.headers
469a227d93c8d2bfc76f80ea64125f94513dd609 authored almost 9 years ago by dead_horse <[email protected]>
469a227d93c8d2bfc76f80ea64125f94513dd609 authored almost 9 years ago by dead_horse <[email protected]>
Release 1.2.1
ce7dbf3fd2d3a2c869c70d22e965ae14496c7c15 authored over 9 years ago by dead_horse <[email protected]>
ce7dbf3fd2d3a2c869c70d22e965ae14496c7c15 authored over 9 years ago by dead_horse <[email protected]>
Merge pull request #5 from koajs/fix-test-iojs
fix: test run on iojs and upgrade copy-to
9314d7d93c9b59e7dcb8e338e2cfc509333c1e0b authored over 9 years ago by Yiyu He <[email protected]>
fix: test run on iojs and upgrade copy-to
b44bc7df79f5c8891a4be352c60ebbdd4803777e authored over 9 years ago by fengmk2 <[email protected]>
b44bc7df79f5c8891a4be352c60ebbdd4803777e authored over 9 years ago by fengmk2 <[email protected]>
Release 1.2.0
15303852c4642d996bb9e9de772e7f1a90a67e0b authored over 10 years ago by dead_horse <[email protected]>
15303852c4642d996bb9e9de772e7f1a90a67e0b authored over 10 years ago by dead_horse <[email protected]>
fix status in on error
9a3a2934b6085cc81b7079015d69417ab384bd6f authored over 10 years ago by dead_horse <[email protected]>
9a3a2934b6085cc81b7079015d69417ab384bd6f authored over 10 years ago by dead_horse <[email protected]>
Release 1.1.0
5604b39b1196a282aad06a05abd99a1125b2bc52 authored over 10 years ago by dead_horse <[email protected]>
5604b39b1196a282aad06a05abd99a1125b2bc52 authored over 10 years ago by dead_horse <[email protected]>
fix link
91fea74391c37c84c167d9f94099d226bac13c56 authored over 10 years ago by dead_horse <[email protected]>
91fea74391c37c84c167d9f94099d226bac13c56 authored over 10 years ago by dead_horse <[email protected]>
Merge pull request #4 from koajs/custom-accepts
Custom accepts
12f1392210d5d94b19224b58f9f30260646ec4e4 authored over 10 years ago by dead_horse <[email protected]>
update links and add coveralls
d010ae823ad0c717567a8d63fe0d1c55ff7e30f7 authored over 10 years ago by fengmk2 <[email protected]>
d010ae823ad0c717567a8d63fe0d1c55ff7e30f7 authored over 10 years ago by fengmk2 <[email protected]>
Support options.accepts custom detect function
93136cc0719e7386db709bc652c4fe707197c42d authored over 10 years ago by fengmk2 <[email protected]>
93136cc0719e7386db709bc652c4fe707197c42d authored over 10 years ago by fengmk2 <[email protected]>
fix readme
cab496d6d2d35c11a860d914af72b8d4d8cbdcc5 authored over 10 years ago by dead_horse <[email protected]>
cab496d6d2d35c11a860d914af72b8d4d8cbdcc5 authored over 10 years ago by dead_horse <[email protected]>
Release 1.0.3
643b48436e42d0ffd5ad3d95673a216830a8f570 authored over 10 years ago by dead_horse <[email protected]>
643b48436e42d0ffd5ad3d95673a216830a8f570 authored over 10 years ago by dead_horse <[email protected]>
Merge pull request #2 from koajs/redirect
Allow `options.redirect = 'http://example/500.html'`.
5aacf5399c97f53c592e5eafd40776eee0cc5d4a authored over 10 years ago by dead_horse <[email protected]>
Allow `options.redirect = 'http://example/500.html'`.
3c513245c98f4b28d34d28d5bdbb6ff1c1555eb7 authored over 10 years ago by fengmk2 <[email protected]>
3c513245c98f4b28d34d28d5bdbb6ff1c1555eb7 authored over 10 years ago by fengmk2 <[email protected]>
Release 1.0.2
ff41f38eb4f1bfa5a9b897ccab88723e21056e75 authored over 10 years ago by dead_horse <[email protected]>
ff41f38eb4f1bfa5a9b897ccab88723e21056e75 authored over 10 years ago by dead_horse <[email protected]>
use path.join
ca50cf0cd830e07eaa8fd7beeb81c9f2e2ed65ac authored over 10 years ago by dead_horse <[email protected]>
ca50cf0cd830e07eaa8fd7beeb81c9f2e2ed65ac authored over 10 years ago by dead_horse <[email protected]>
Release 1.0.1
14cee3ccbd8af391e6fa23f2538e8dc5ae5781a7 authored over 10 years ago by dead_horse <[email protected]>
14cee3ccbd8af391e6fa23f2538e8dc5ae5781a7 authored over 10 years ago by dead_horse <[email protected]>
add assert error type
85a4e65b3ea05fbeab8d9151f5ec0bf3a117a7c3 authored over 10 years ago by dead_horse <[email protected]>
85a4e65b3ea05fbeab8d9151f5ec0bf3a117a7c3 authored over 10 years ago by dead_horse <[email protected]>
update repo
ecf50b226d70fc6e5f973ec7bf7c75503dea15b2 authored over 10 years ago by dead_horse <[email protected]>
ecf50b226d70fc6e5f973ec7bf7c75503dea15b2 authored over 10 years ago by dead_horse <[email protected]>
Release 1.0.0
1d251d71453ff7edf3592d8ba132a5c00b5c305a authored over 10 years ago by dead_horse <[email protected]>
1d251d71453ff7edf3592d8ba132a5c00b5c305a authored over 10 years ago by dead_horse <[email protected]>
refine readme, bump dependencies
4fa22e64f899f9151013195799e11e9e11c88c15 authored over 10 years ago by dead_horse <[email protected]>
4fa22e64f899f9151013195799e11e9e11c88c15 authored over 10 years ago by dead_horse <[email protected]>
fix status
5cdcb7fd6caf3420496167d67fe6e234a741a224 authored over 10 years ago by dead_horse <[email protected]>
5cdcb7fd6caf3420496167d67fe6e234a741a224 authored over 10 years ago by dead_horse <[email protected]>
Release 0.0.2
7fc68b99ff241eb8dd404def21dc328c82834804 authored over 10 years ago by dead_horse <[email protected]>
7fc68b99ff241eb8dd404def21dc328c82834804 authored over 10 years ago by dead_horse <[email protected]>
all do not set type
b95e2d9e35bebbddd34c6b76782f7705ed925a24 authored over 10 years ago by dead_horse <[email protected]>
b95e2d9e35bebbddd34c6b76782f7705ed925a24 authored over 10 years ago by dead_horse <[email protected]>
Release 0.0.1
96a36183afdd52b57cd65187bb3c0e6fa03950b5 authored over 10 years ago by dead_horse <[email protected]>
96a36183afdd52b57cd65187bb3c0e6fa03950b5 authored over 10 years ago by dead_horse <[email protected]>
add test
d5550600daba60600ad8ac56bf4da7581f3f3880 authored over 10 years ago by dead_horse <[email protected]>
d5550600daba60600ad8ac56bf4da7581f3f3880 authored over 10 years ago by dead_horse <[email protected]>
fix status
8b8af8c6b4e532ccc31ae873bef0f0530df3b770 authored over 10 years ago by dead_horse <[email protected]>
8b8af8c6b4e532ccc31ae873bef0f0530df3b770 authored over 10 years ago by dead_horse <[email protected]>
rename to koa-onerror
61a5cc56f0c19793d61ee7775b9cf821d431dd42 authored over 10 years ago by dead_horse <[email protected]>
61a5cc56f0c19793d61ee7775b9cf821d431dd42 authored over 10 years ago by dead_horse <[email protected]>
refactor
921d1c93883c0ad3ef3f18a5d1dc0f7738c54477 authored over 10 years ago by dead_horse <[email protected]>
921d1c93883c0ad3ef3f18a5d1dc0f7738c54477 authored over 10 years ago by dead_horse <[email protected]>
update readme
b90f45b4c5a94e8c37bc8a480c31a41f90f8a282 authored over 10 years ago by dead_horse <[email protected]>
b90f45b4c5a94e8c37bc8a480c31a41f90f8a282 authored over 10 years ago by dead_horse <[email protected]>
update readme
d6927607c1ec88d280eed1cfc9b214c1f851b150 authored over 10 years ago by dead_horse <[email protected]>
d6927607c1ec88d280eed1cfc9b214c1f851b150 authored over 10 years ago by dead_horse <[email protected]>
error handler by hack ctx.onerror
af5ea70d4c526f8c613e363929f02623b0d725c4 authored over 10 years ago by dead_horse <[email protected]>
af5ea70d4c526f8c613e363929f02623b0d725c4 authored over 10 years ago by dead_horse <[email protected]>
Initial commit
2dd63069c7f3beca17dc8df3405abbf4091d0412 authored over 10 years ago by dead_horse <[email protected]>
2dd63069c7f3beca17dc8df3405abbf4091d0412 authored over 10 years ago by dead_horse <[email protected]>