Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception.message is nil #208

Open
Geo-7 opened this issue Jun 13, 2020 · 0 comments
Open

exception.message is nil #208

Geo-7 opened this issue Jun 13, 2020 · 0 comments

Comments

@Geo-7
Copy link

Geo-7 commented Jun 13, 2020

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:1234@192.168.0.1/somedb"
rescue ex
    p ex.message
end
pascalbetz pushed a commit to pascalbetz/crystal-pg that referenced this issue Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant