nochowderforyou / clams

Clam Project
MIT License
62 stars 58 forks source link

clam-qt crashes if you try to import a wallet that doesn't exist #215

Closed dooglus closed 8 years ago

dooglus commented 8 years ago

screenshot - 220815 - 03 11 54 am

It appears to be an incorrectly handled exception:

************************
EXCEPTION: St13runtime_error       
CDB : Error 2, can't open database        
clam in Runaway exception       

clamd on the other hand deals with it correctly:

$ clamd importwallet /tmp/randomjunk
error: {"code":-1,"message":"CDB : Error 2, can't open database "}
tryphe commented 8 years ago

Fixed under Windows.

Reopen the issue if it happens under another platform. I just have clamd compiled on Linux at the moment.