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
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
Release 4.1.0

9fdb665d98b099ecc67f08c4d1bedd03d5c69758 authored over 6 years ago
fix: the req data should be consumed on error (#33)

closes https://github.com/eggjs/egg/issues/2897

d4291c29319dee23d745bb7f7a37ca1e86741691 authored over 6 years ago
Release 4.0.1

7ce47c61fb434ca7da48a1600525839b5206413d authored over 6 years ago
fix: escape unsafe characters in html response

46a79ddcf81434dd2974ed7906f67ca4674dbf52 authored over 6 years ago
Release 4.0.0

052fea13b77989352bfaf5cde8bd4561d77eec6c authored about 7 years ago
refactor: support koa 2 (#27)

df878e4605c91aa55489a249c4093642f16ce96b authored about 7 years ago
Release 3.1.0

edfff234ce93f6bb7ad9271b0ac768b90f4aeb0b authored almost 8 years ago
feat: can reach err.headerSent in app error listener (#23)

a454755e2ee499a9a8d833b1866ccafadd6352da authored almost 8 years ago
feat: non-error wrapper support status and headers (#22)

3097862346905630b778789f5dcd4f0b06d36789 authored almost 8 years ago
Release 3.0.2

7a45ad7245f42cb1cef15b439a00c43bda4cc4ab authored almost 8 years ago
fix: try to restore non Error instance properties (#20)

d898b21440c948b7e6eb610a92254dcdb8e75460 authored almost 8 years ago
fix: change the koa-error url (#17)

ebe39bcbb0ccbfed86ad4d38ab05e87acb8cdf8d authored about 8 years ago
Release 3.0.1

f2910e8ef2aa56b82d98b845568e1729bc6b6a2d authored over 8 years ago
fix: use absolute path (#16)

85186f76f5ce7406b8c2c5647dba87d2e66a058e authored over 8 years ago
Release 3.0.0

dc2d33960a82acfb406a7c609acabacd152419f9 authored over 8 years ago
fix: Send default text/plain body if message is undefined

e8ea0f62b9a5ebda48f40d5bb3ee136c25b0276e authored over 8 years ago
fix: lint

70ca64494230a14ad7935a7b41ebff6672134cb0 authored over 8 years ago
refactor: remove nunjucks

6aa55e770041632924499000fa28e586e68f125e authored over 8 years ago
Release 2.1.0

9e81673cb575fc89139f9baecfc416a1b381a9b1 authored over 8 years ago
fix: don't throw when non-error object passed (#15)

b0a621aaa29efcfecf6e864dad1b14c7685a6913 authored over 8 years ago
Return reference to app (#7)

Allows for a more fluid interface, for example:
```
let app = error(koa(), {...});
```

d3495532f35131bac19f825cf86d44f2233be416 authored over 8 years ago
Release 2.0.0

49607676e8837946f931f2229d58a1e6143a3223 authored over 8 years ago
Merge pull request #11 from koajs/use-nunjucks-instead-of-swig

refactor: use nunjucks instead of swig

c5796895b65e75e4acf1433ff90fc30d46e32173 authored over 8 years ago
refactor: use nunjucks instead of swig

- swig is no longer maintained https://github.com/paularmstrong/swig/issues/628
- and it contain...

9613c583c1b0a7cb8bdb9effeaa60e389903072c authored over 8 years ago
test: 0.12 / 4 / 5

1940963914d4a1fb5a610edf9c037bbca622bf86 authored almost 9 years ago
Release 1.3.1

940e39e943ecbb91a57dbe204be38f1022344af2 authored almost 9 years ago
fix: only unset text headers

3b56b4e57078df7afd08d3b1c27f5b03c1f15f47 authored almost 9 years ago
Release 1.3.0

33fee7b4c46473c531588880346f767de2bdbc23 authored almost 9 years ago
chore: readme

60e1e419b3496efa3081bf01c051d082c2806276 authored almost 9 years ago
feat: support set err.headers

469a227d93c8d2bfc76f80ea64125f94513dd609 authored almost 9 years ago
Release 1.2.1

ce7dbf3fd2d3a2c869c70d22e965ae14496c7c15 authored over 9 years ago
Merge pull request #5 from koajs/fix-test-iojs

fix: test run on iojs and upgrade copy-to

9314d7d93c9b59e7dcb8e338e2cfc509333c1e0b authored over 9 years ago
fix: test run on iojs and upgrade copy-to

b44bc7df79f5c8891a4be352c60ebbdd4803777e authored over 9 years ago
Release 1.2.0

15303852c4642d996bb9e9de772e7f1a90a67e0b authored over 10 years ago
fix status in on error

9a3a2934b6085cc81b7079015d69417ab384bd6f authored over 10 years ago
Release 1.1.0

5604b39b1196a282aad06a05abd99a1125b2bc52 authored over 10 years ago
fix link

91fea74391c37c84c167d9f94099d226bac13c56 authored over 10 years ago
Merge pull request #4 from koajs/custom-accepts

Custom accepts

12f1392210d5d94b19224b58f9f30260646ec4e4 authored over 10 years ago
update links and add coveralls

d010ae823ad0c717567a8d63fe0d1c55ff7e30f7 authored over 10 years ago
Support options.accepts custom detect function

93136cc0719e7386db709bc652c4fe707197c42d authored over 10 years ago
fix readme

cab496d6d2d35c11a860d914af72b8d4d8cbdcc5 authored over 10 years ago
Release 1.0.3

643b48436e42d0ffd5ad3d95673a216830a8f570 authored over 10 years ago
Merge pull request #2 from koajs/redirect

Allow `options.redirect = 'http://example/500.html'`.

5aacf5399c97f53c592e5eafd40776eee0cc5d4a authored over 10 years ago
Allow `options.redirect = 'http://example/500.html'`.

3c513245c98f4b28d34d28d5bdbb6ff1c1555eb7 authored over 10 years ago
Release 1.0.2

ff41f38eb4f1bfa5a9b897ccab88723e21056e75 authored almost 11 years ago
use path.join

ca50cf0cd830e07eaa8fd7beeb81c9f2e2ed65ac authored almost 11 years ago
Release 1.0.1

14cee3ccbd8af391e6fa23f2538e8dc5ae5781a7 authored almost 11 years ago
add assert error type

85a4e65b3ea05fbeab8d9151f5ec0bf3a117a7c3 authored almost 11 years ago
update repo

ecf50b226d70fc6e5f973ec7bf7c75503dea15b2 authored almost 11 years ago
Release 1.0.0

1d251d71453ff7edf3592d8ba132a5c00b5c305a authored almost 11 years ago
refine readme, bump dependencies

4fa22e64f899f9151013195799e11e9e11c88c15 authored almost 11 years ago
fix status

5cdcb7fd6caf3420496167d67fe6e234a741a224 authored almost 11 years ago
Release 0.0.2

7fc68b99ff241eb8dd404def21dc328c82834804 authored almost 11 years ago
all do not set type

b95e2d9e35bebbddd34c6b76782f7705ed925a24 authored almost 11 years ago
Release 0.0.1

96a36183afdd52b57cd65187bb3c0e6fa03950b5 authored almost 11 years ago
add test

d5550600daba60600ad8ac56bf4da7581f3f3880 authored almost 11 years ago
fix status

8b8af8c6b4e532ccc31ae873bef0f0530df3b770 authored almost 11 years ago
rename to koa-onerror

61a5cc56f0c19793d61ee7775b9cf821d431dd42 authored almost 11 years ago
refactor

921d1c93883c0ad3ef3f18a5d1dc0f7738c54477 authored almost 11 years ago
update readme

b90f45b4c5a94e8c37bc8a480c31a41f90f8a282 authored almost 11 years ago
update readme

d6927607c1ec88d280eed1cfc9b214c1f851b150 authored almost 11 years ago
error handler by hack ctx.onerror

af5ea70d4c526f8c613e363929f02623b0d725c4 authored almost 11 years ago
Initial commit

2dd63069c7f3beca17dc8df3405abbf4091d0412 authored almost 11 years ago