Skip to content

Commit

Permalink
Issue #639: fix some messages
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Nov 16, 2020
1 parent 6b97378 commit ba1afd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Kernel/System/MigrateFromOTRS/CloneDB/Driver/Base.pm
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ sub DataTransfer {

# Log info to apache error log and OTOBO log (syslog or file)
$MigrationBaseObject->MigrationLog(
String => "Table $SourceTable does not in OTOBO.",
String => "Table $SourceTable does not exist in OTOBO.",
Priority => "notice",
);

Expand Down Expand Up @@ -781,7 +781,7 @@ sub DataTransfer {

# Log info to apache error log and OTOBO log (syslog or file)
$MigrationBaseObject->MigrationLog(
String => "Could not rename target table '$TargetTable' to '${TargetSchema}_hidden'",
String => "Could not drop target table '$TargetTable'",
Priority => "notice",
);

Expand Down Expand Up @@ -833,7 +833,6 @@ END_SQL

if ( ! $OverallSuccess ) {
$MigrationBaseObject->MigrationLog(
String => "Could '$SourceTable*",
String => <<"END_TXT",
Renaming '$SourceSchema.$SourceTable' to '$TargetSchema.$TargetTable' failed.
The table can be restored with:
Expand Down

0 comments on commit ba1afd9

Please sign in to comment.