Commit c00c6b1d1ede7c5bd66d46345ebc3a2814f4bdbb

Authored by Adhidarma Hadiwinoto
1 parent 2386b082b2
Exists in master

Add info why use sd-notify instead of systemd-notify

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

... ... @@ -44,7 +44,9 @@ module.exports = async (statusMsg) => {
44 44 status,
45 45 });
46 46 } catch (e) {
47   - logger.verbose(`${MODULE_NAME} 488B3245: Trying to notify sd-notify package`);
  47 + logger.verbose(`${MODULE_NAME} 488B3245: Trying to notify sd-notify package`, {
  48 + why: e.message || e.toString(),
  49 + });
48 50 notifyUseSdNotify();
49 51 }
50 52 };