mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
mirror error handling behavior in cloudflare worker
This commit is contained in:

committed by
Geoff Seemueller

parent
ffabfd4ce5
commit
48655474e3
@@ -1,6 +1,7 @@
|
|||||||
import { ServerCoordinator } from '@open-gsio/coordinators';
|
import { ServerCoordinator } from '@open-gsio/coordinators';
|
||||||
import Router from '@open-gsio/router';
|
import Router from '@open-gsio/router';
|
||||||
|
import { error } from 'itty-router';
|
||||||
|
|
||||||
export { ServerCoordinator };
|
export { ServerCoordinator };
|
||||||
|
|
||||||
export default Router.Router();
|
export default Router.Router().catch(error);
|
||||||
|
Reference in New Issue
Block a user