Catch method invocation error to avoid crashing

See https://github.com/strongloop/loopback-connector-postgresql/issues/37