bigpresh / Dancer-Plugin-Database

Dancer::Plugin::Database - easy database support for Dancer applications
http://search.cpan.org/dist/Dancer-Plugin-Database
37 stars 36 forks source link

add eval to ping. #66

Closed jamesrusso closed 8 years ago

jamesrusso commented 9 years ago

wrap the call to DBI ping in eval and handle results.

jamesrusso commented 9 years ago

This is working for me now. Fairly simple change. It's more complicated to try and catch it in the DBI module the way it does error handling..