This commit is contained in:
Redkale
2020-01-02 09:51:37 +08:00
parent 82ab994608
commit 55ab279e7f

View File

@@ -303,7 +303,7 @@ public abstract class NodeServer {
//NodeServer.this.watchFactory.inject(src); //NodeServer.this.watchFactory.inject(src);
if (source instanceof Service && needinit) ((Service) source).init(sourceConf); if (source instanceof Service && needinit) ((Service) source).init(sourceConf);
} catch (Exception e) { } catch (Exception e) {
logger.log(Level.SEVERE, "DataSource inject error", e); logger.log(Level.SEVERE, "[" + Thread.currentThread().getName() + "] DataSource inject error", e);
} }
}, DataSource.class); }, DataSource.class);