tidy up sqlview error handling

This commit is contained in:
2016-06-01 22:17:05 +10:00
parent 2d21af7d2f
commit 243a7691b6
2 changed files with 1 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ function booking_admin()
watchdog('booking_debug', "<pre>SQL View booking_person_view check\n@info</pre>", array('@info' => print_r( $sqlview_check, true)));
}
catch (Exception $e) {
watchdog('booking_debug', "<pre>SQL View booking_person_view check does not exist\n@info</pre>", array('@info' => print_r( $e, true)));
watchdog('booking_debug', "<pre>SQL View booking_person_view check does not exist\n@info</pre>", array('@info' => $e->message));
_booking_node_create_mysqlview();
}
/*