Navigation Menu

Skip to content

Commit

Permalink
MDL-30391 Backup: Exception in restore should be thrown as it is to b…
Browse files Browse the repository at this point in the history
…e handled by calling function
  • Loading branch information
Rajesh Taneja committed Nov 22, 2011
1 parent 79b0fec commit ecdd2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup/restore.php
Expand Up @@ -46,7 +46,7 @@
$restore->execute();
} catch(Exception $e) {
$restore->cleanup();
throw new moodle_exception((string)$e);
throw $e;
}
} else {
$restore->save_controller();
Expand Down

0 comments on commit ecdd2d1

Please sign in to comment.