Commit bf064d28 authored by catch's avatar catch
Browse files

Issue #3173639 by mohit_aghera, godotislate, Kristen Pol, quietone: Entity...

Issue #3173639 by mohit_aghera, godotislate, Kristen Pol, quietone: Entity storage exception during module install missing !message parameter in watchdog_exception() call
parent a3bddae4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -302,7 +302,7 @@ public function install(array $module_list, $enable_dependencies = TRUE) {
                  $update_manager->installFieldStorageDefinition($storage_definition->getName(), $entity_type->id(), $module, $storage_definition);
                }
                catch (EntityStorageException $e) {
                  watchdog_exception('system', $e, 'An error occurred while notifying the creation of the @name field storage definition: "@message" in %function (line %line of %file).', ['@name' => $storage_definition->getName()]);
                  watchdog_exception('system', $e, 'An error occurred while notifying the creation of the @name field storage definition: "@message" in %function (line %line of %file).', ['@name' => $storage_definition->getName(), '@message' => $e->getMessage()]);
                }
              }
            }