Re: Display error from data-provider



Probably you should raise a SyncronizeError, or SyncronizeFatalError (in the Exceptions module), if it is inside a synchronization process.
I dont know of any other way to present meaningful error details to the user outside the console. If the dataprovider raises an Exception, either when it's being imported or inside a synchronization, the error is shown at the console, and that process is stopped if the error is fatal. But usually, Conduit does not crash.

Alexandre Rosenfeld

2009/1/16 Andrew Stormont <andyjstormont googlemail com>
Hi,

What is the best way to report an error from my data-provider?


Andy

_______________________________________________
Conduit-list mailing list
Conduit-list gnome org
http://mail.gnome.org/mailman/listinfo/conduit-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]