We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92c1bcd commit 415f69cCopy full SHA for 415f69c
1 file changed
src/wol.js
@@ -204,15 +204,17 @@ async function startProcessing(req, res) {
204
? await trySendWakeupPackets(hosts, ENV.wolURL)
205
: null
206
207
- if (wolResult) {
208
- err = wolResult.err
209
- if (ENV.exposeLogs) output += wolResult.output
210
- }
+ logger.debug(wolResult)
211
212
return res.json({
213
test: "HELLO",
214
})
215
+ if (wolResult) {
+ err = wolResult.err
+ if (ENV.exposeLogs) output += wolResult.output
216
+ }
217
+
218
if (!err && wakeDocker && woldEnabled) {
219
logger.debug(
220
`Sending WoL-D to ${ENV.woldURL}: ${JSON.stringify({ query })}`
0 commit comments