Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logger call for gcode multi commands events #752

Merged
merged 1 commit into from
Feb 1, 2015
Merged

Fix logger call for gcode multi commands events #752

merged 1 commit into from
Feb 1, 2015

Conversation

Diaoul
Copy link
Contributor

@Diaoul Diaoul commented Feb 1, 2015

Missing _ causes the whole thing to fail.

Traceback (most recent call last):
  File "/home/pi/OctoPrint/src/octoprint/events.py", line 110, in _work
    listener(event, payload)
  File "/home/pi/OctoPrint/src/octoprint/events.py", line 267, in eventCallback
    self.executeCommand(processedCommand, commandType)
  File "/home/pi/OctoPrint/src/octoprint/events.py", line 275, in executeCommand
    self._executeGcodeCommand(command)
  File "/home/pi/OctoPrint/src/octoprint/events.py", line 296, in _executeGcodeCommand
    self.logger.debug("Executing GCode commands: %r" % command)
AttributeError: 'CommandTrigger' object has no attribute 'logger'

@foosel
Copy link
Member

foosel commented Feb 1, 2015

Apparently I forgot to backport f5eef06 unto master

foosel added a commit that referenced this pull request Feb 1, 2015
Fix logger call for gcode multi commands events
@foosel foosel merged commit 2523cf8 into OctoPrint:master Feb 1, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants