hoxy
hoxy copied to clipboard
Error reporting for missing mime type
In many cases the stack trace for an exception is clear. It would be nice to have a gernal error module where exceptions can be trapped and reported as errors in the log. I would like to work on this.
uncaught exception: Cannot call method 'indexOf' of undefined
TypeError: Cannot call method 'indexOf' of undefined
at isText (/Users/rinaldo/Documents/workspace/Maxwell/DirectPrint/src/main/proxy/hoxy/plugins/ghost-server.js:141:15)
at getContentType (/Users/rinaldo/Documents/workspace/Maxwell/DirectPrint/src/main/proxy/hoxy/plugins/ghost-server.js:149:5)
at /Users/rinaldo/Documents/workspace/Maxwell/DirectPrint/src/main/proxy/hoxy/plugins/ghost-server.js:106:28
at [object Object].
Rinaldo
I've been crazy busy the last 2.x years, and have neglected this poor project. I'll note here that v1.x has a hopefully more flexible logging mechanism, and a hoxy.forever() method to handle uncaught exceptions.