Change the SafeModeException to StandardError