Let's at least catch the exception and print a somewhat useful error message

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>