Skip to content

Commit f5c7b59

Browse files
committed
🔊 More logs!
1 parent fe45f35 commit f5c7b59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/server/services/Servo.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ class ServoService {
5656

5757
moveRight() {
5858
if (this.position <= servo.pos.right) {
59+
this.logService.log('fail', `[Services.Servo] Max servo position, not executing to prevent damage!`);
5960
return;
6061
}
6162

@@ -67,6 +68,7 @@ class ServoService {
6768

6869
moveLeft() {
6970
if (this.position >= servo.pos.left) {
71+
this.logService.log('fail', `[Services.Servo] Max servo position, not executing to prevent damage!`);
7072
return;
7173
}
7274

0 commit comments

Comments
 (0)