diff --git a/library/Director/Data/Db/DbObject.php b/library/Director/Data/Db/DbObject.php index 86bbf0e5..c7c28f6b 100644 --- a/library/Director/Data/Db/DbObject.php +++ b/library/Director/Data/Db/DbObject.php @@ -640,6 +640,9 @@ abstract class DbObject } } catch (Exception $e) { + if (is_array($id)) { + $id = print_r($id, 1); + } throw new Exception( sprintf( 'Storing %s[%s] failed: %s {%s}',