Catch method invocation error to avoid crashing

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