crystal-pg icon indicating copy to clipboard operation
crystal-pg copied to clipboard

exception.message is nil

Open Geo-7 opened this issue 4 years ago • 0 comments

Hi crystal v 0.35 pg version: 0.21.1 exception message is nil, exception cause is not nil

require "db"
require "pg"

begin
    db =DB.open "postgres://username:[email protected]/somedb"
rescue ex
    p ex.message
end

Geo-7 avatar Jun 13 '20 12:06 Geo-7