crystal-pg
crystal-pg copied to clipboard
exception.message is nil
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