diff --git a/src/main/groovy/togit/migration/MigrationManager.groovy b/src/main/groovy/togit/migration/MigrationManager.groovy index 7a94f52..422faf7 100644 --- a/src/main/groovy/togit/migration/MigrationManager.groovy +++ b/src/main/groovy/togit/migration/MigrationManager.groovy @@ -8,7 +8,6 @@ import togit.context.Context import togit.migration.plan.MigrationPlan import togit.migration.sources.MigrationSource import togit.migration.targets.MigrationTarget -import togit.utils.ExceptionHelper @Singleton class MigrationManager { @@ -59,7 +58,6 @@ class MigrationManager { LOG.info('Executed migration plan') } catch (Exception e) { LOG.error('An error occurred during the migration') - ExceptionHelper.simpleLog(e) LOG.error('The migration has been stopped') throw e } finally { diff --git a/src/main/groovy/togit/utils/ExceptionHelper.groovy b/src/main/groovy/togit/utils/ExceptionHelper.groovy deleted file mode 100644 index 4382754..0000000 --- a/src/main/groovy/togit/utils/ExceptionHelper.groovy +++ /dev/null @@ -1,17 +0,0 @@ -package togit.utils - -import org.slf4j.LoggerFactory - -class ExceptionHelper { - - final static LOG = LoggerFactory.getLogger(this.class) - - static void simpleLog(Exception e) { - while (e) { - String name = e.class.simpleName - String message = e.message - LOG.error("$name: $message") - e = e as Exception - } - } -}