dt-common-device 13.1.1 → 13.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -44,11 +44,12 @@ class CronicleService {
|
|
|
44
44
|
minutes: schedule.minutes,
|
|
45
45
|
},
|
|
46
46
|
timeout: 60,
|
|
47
|
-
notes: notes
|
|
47
|
+
notes: notes,
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
catch (error) {
|
|
51
51
|
(0, config_1.getConfig)().LOGGER.error(`Failed to create Cronicle job: ${error.message}`);
|
|
52
|
+
throw error;
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
55
|
async updateJob(payload) {
|
|
@@ -93,6 +94,7 @@ class CronicleService {
|
|
|
93
94
|
}
|
|
94
95
|
catch (error) {
|
|
95
96
|
(0, config_1.getConfig)().LOGGER.error(`Failed to update Cronicle job: ${error.message}`);
|
|
97
|
+
throw error;
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
100
|
async getJob(jobId) {
|