Add missing wfProfileOut before throwing an exception
[lhc/web/wiklou.git] / includes / Export.php
index 085662a..996c14b 100644 (file)
@@ -296,6 +296,7 @@ class WikiExporter {
                                }
 
                                // Inform caller about problem
+                               wfProfileOut( __METHOD__ );
                                throw $e;
                        }
                # For page dumps...