small fixes for error reporting

This commit is contained in:
envoyr
2022-05-11 16:26:41 +02:00
parent 3adc5dc119
commit 5cab0e46bd
2 changed files with 4 additions and 3 deletions

View File

@@ -352,7 +352,7 @@ class Core
$pdo->query($froxlorSQL);
} catch (PDOException $e) {
throw new Exception('failed to import data!', 0, $e);
throw new Exception('failed to import data!' . $e->getMessage(), 0, $e);
}
}