Display error on console like throw

fixes #5