Skip to content
Browse files

MDL-30391 Backup: Exception in restore should be thrown as it is to b…

…e handled by calling function
  • Loading branch information...
1 parent 79b0fec commit ecdd2d183cf030af400bbedf71a039160a2a3e36 Rajesh Taneja committed Nov 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/restore.php
View
2 backup/restore.php
@@ -46,7 +46,7 @@
$restore->execute();
} catch(Exception $e) {
$restore->cleanup();
- throw new moodle_exception((string)$e);
+ throw $e;
}
} else {
$restore->save_controller();

0 comments on commit ecdd2d1

Please sign in to comment.
Something went wrong with that request. Please try again.