hides errors in prod, but still shows them locally. closes #17