NIFI-2914 Fixed message error in AbstractMongoProcessor

This closes: #1380

Signed-off-by: Andre F de Miranda <trixpan@users.noreply.github.com>
This commit is contained in:
Pierre Villard 2017-01-03 10:17:15 +01:00 committed by Andre F de Miranda
parent 19302263c3
commit a8b8f1530b
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ public abstract class AbstractMongoProcessor extends AbstractProcessor {
mongoClient = new MongoClient(new MongoClientURI(uri, getClientOptions(sslContext)));
}
} catch (Exception e) {
getLogger().error("Failed to schedule PutMongo due to {}", new Object[] { e }, e);
getLogger().error("Failed to schedule {} due to {}", new Object[] { this.getClass().getName(), e }, e);
throw e;
}
}