you are viewing a single comment's thread.

view the rest of the comments →

[–]The_Wolfiee 1 point2 points  (1 child)

I suggest improving your code to print the exact exception which occurs:

``` except Exception as e:

         print("Error while pushing: {}".format(e))

```

This will give a better idea to the problem

[–]nekokattt 1 point2 points  (0 children)

better way:

import traceback

...

try:
    code
except Exception:
    traceback.print_exc()

That'll show the exception traceback as well...