aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-history.c')
-rw-r--r--embed/ephy-history.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index 18092876f..10d2f898f 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -209,7 +209,11 @@ ephy_history_load (EphyHistory *eb)
return;
doc = xmlParseFile (eb->priv->xml_file);
- g_return_if_fail (doc != NULL);
+ if (doc == NULL)
+ {
+ g_warning ("Failed to load history from %s!\n", eb->priv->xml_file);
+ return;
+ }
root = xmlDocGetRootElement (doc);