aboutsummaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
Diffstat (limited to 'main/src')
-rw-r--r--main/src/main.vala2
-rw-r--r--main/src/ui/conversation_summary/content_item_widget_factory.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/main.vala b/main/src/main.vala
index 46b3affd..6274dcdd 100644
--- a/main/src/main.vala
+++ b/main/src/main.vala
@@ -22,7 +22,7 @@ void main(string[] args) {
app.run(args);
loader.shutdown();
} catch (Error e) {
- print(@"Fatal error: $(e.message)\n");
+ warning(@"Fatal error: $(e.message)");
}
}
diff --git a/main/src/ui/conversation_summary/content_item_widget_factory.vala b/main/src/ui/conversation_summary/content_item_widget_factory.vala
index 0bd763ec..b784c91a 100644
--- a/main/src/ui/conversation_summary/content_item_widget_factory.vala
+++ b/main/src/ui/conversation_summary/content_item_widget_factory.vala
@@ -166,7 +166,7 @@ public class FileItemWidgetGenerator : WidgetGenerator, Object {
try{
AppInfo.launch_default_for_uri(file_transfer.get_file().get_uri(), null);
} catch (Error err) {
- print("Tried to open file://" + file_transfer.get_file().get_path() + " " + err.message + "\n");
+ info("Could not to open file://%s: %s", file_transfer.get_file().get_path(), err.message);
}
});