pretty-error is now only loaded when needed