error from last commit now only thrown if compiled with DEBUG flag set. Otherwise output info to console.