Skip to content

Commit 237b02c

Browse files
docs: remove error prefix as suggest by @JKRhb
1 parent 7bc7e88 commit 237b02c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ servient.start().then(async (WoT) => {
194194
for (let i = 0; i < 5; i++) {
195195
await thing.invokeAction("increment");
196196
}
197-
}).catch((err) => { console.error("Error:", err); });
197+
}).catch((err) => { console.error(err); });
198198
```
199199

200200
If you execute both scripts you will see `count: ${count}` printed 5 times. We host a more complex version of this example at [http://plugfest.thingweb.io/examples/counter.html](http://plugfest.thingweb.io/examples/counter.html) and you can find the source code in the [counter example](./examples/browser) folder. You can also find more examples in the [examples folder](./examples/scripts) for JavaScript and in the [examples folder](./packages/examples/) for TypeScript. Finally, for your convenience, we host a set of online Things that you can use to test your applications. You can find more information about them in the [Online Things](#online-things) section.

0 commit comments

Comments
 (0)