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

add traceback for exception in sync log #475

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

frostyplanet
Copy link

add some traceback in provider log (.everpad/logs/everpad-provider.log) to help bug fix

2015-07-23 23:31:08,608 - everpad-provider - DEBUG - Pulling note "美元指数" from remote server.
2015-07-23 23:31:11,280 - everpad-provider - ERROR - expected a character buffer object
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/everpad/provider/sync/agent.py", line 130, in perform
    self.remote_changes()
  File "build/bdist.linux-x86_64/egg/everpad/provider/sync/agent.py", line 170, in remote_changes
    note.PullNote(*self._get_sync_args()).pull()
  File "build/bdist.linux-x86_64/egg/everpad/provider/sync/note.py", line 181, in pull
    resource_ids = self._receive_resources(note, note_ttype)
  File "build/bdist.linux-x86_64/egg/everpad/provider/sync/note.py", line 287, in _receive_resources
    resource.from_api(resource_ttype)
  File "build/bdist.linux-x86_64/egg/everpad/provider/models.py", line 271, in from_api
    data.write(resource.data.body)
TypeError: expected a character buffer object
2015-07-23 23:31:11,281 - everpad-provider - DEBUG - Sync performed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant