Add logging of errors and fail if a compile error happens with slimrb