Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
2 files
+ 8
1
Compare changes
  • Side-by-side
  • Inline
Files
2
  • 2e76fda4
    Issue #3202665 by danflanagan8, Ratan Priya, rupertj, longwave, smustgrave,... · 2e76fda4
    Alex Pott authored
    Issue #3202665 by danflanagan8, Ratan Priya, rupertj, longwave, smustgrave, thursday_bw: "A(n) object was thrown while attempting to stub." Hard to debug migration message
@@ -263,7 +263,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable
@@ -263,7 +263,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable
throw $e;
throw $e;
}
}
catch (\Exception $e) {
catch (\Exception $e) {
throw new MigrateException(sprintf('A(n) %s was thrown while attempting to stub.', gettype($e)), $e->getCode(), $e);
throw new MigrateException(sprintf('%s was thrown while attempting to stub: %s', get_class($e), $e->getMessage()), $e->getCode(), $e);
}
}
}
}
if ($destination_ids) {
if ($destination_ids) {
Loading