[f-spot] Expose all Facebook exceptions.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Expose all Facebook exceptions.
- Date: Sat, 22 May 2010 23:15:59 +0000 (UTC)
commit cfd8341b8f1361ece2cb1fa31412e5de26268255
Author: Ruben Vermeersch <ruben savanne be>
Date: Sat May 22 22:17:02 2010 +0200
Expose all Facebook exceptions.
.../FacebookExport/FacebookExportDialog.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/extensions/Exporters/FacebookExport/FacebookExportDialog.cs b/extensions/Exporters/FacebookExport/FacebookExportDialog.cs
index 62d5dee..5f895bd 100644
--- a/extensions/Exporters/FacebookExport/FacebookExportDialog.cs
+++ b/extensions/Exporters/FacebookExport/FacebookExportDialog.cs
@@ -284,12 +284,12 @@ namespace FSpot.Exporter.Facebook
// Note for translators: {0} and {1} are respectively firstname and surname of the user
LoginProgress (1.0, String.Format (Catalog.GetString ("{0} {1} is logged into Facebook"), me.FirstName, me.LastName));
});
- } catch (FacebookException fe) {
- Log.DebugException (fe);
+ } catch (Exception e) {
+ Log.DebugException (e);
Gtk.Application.Invoke (delegate {
HigMessageDialog error = new HigMessageDialog (this, Gtk.DialogFlags.DestroyWithParent | Gtk.DialogFlags.Modal,
Gtk.MessageType.Error, Gtk.ButtonsType.Ok, Catalog.GetString ("Facebook Connection Error"),
- String.Format (Catalog.GetString ("There was an error when downloading your information from Facebook.\n\nFacebook said: {0}"), fe.Message));
+ String.Format (Catalog.GetString ("There was an error when downloading your information from Facebook.\n\nFacebook said: {0}"), e.Message));
error.Run ();
error.Destroy ();
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]