Fixing stupid `error` errors

Adding `DEBUG` to the environment will make errors display something a bit more useful than `[<Error>: <Message>]` now.