We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e807bdf commit 4df2577Copy full SHA for 4df2577
1 file changed
backend/src/Model/sparkplugb.ts
@@ -26,7 +26,6 @@ export const SparkplugDecoder = {
26
export const SparkplugEncoder = {
27
encode(input: string): Buffer | undefined {
28
try {
29
- console.log(input)
30
const payload = JSON.parse(input)
31
return Buffer.from(
32
SparkplugPayload.encode(
@@ -37,7 +36,7 @@ export const SparkplugEncoder = {
37
36
).finish()
38
)
39
} catch (err) {
40
- // todo ?
+ console.error(err)
41
}
42
},
43
0 commit comments