Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…e handled by calling function
  • Loading branch information...
commit ecdd2d183cf030af400bbedf71a039160a2a3e36 1 parent 79b0fec
Rajesh Taneja authored
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();
Please sign in to comment.
Something went wrong with that request. Please try again.