Skip to content

Commit

Permalink
[0.5.4] Updated configcrunch, support for async ResultError to includ…
Browse files Browse the repository at this point in the history
…e traceback
  • Loading branch information
theCapypara committed Mar 20, 2020
1 parent bbc2542 commit edafb84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions riptide/engine/results.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import asyncio
import traceback

import janus
from typing import Dict, NamedTuple, Union, TypeVar, Generic

Expand All @@ -25,6 +27,9 @@ def __init__(self, message: str, details: str = None, cause: Exception = None, *
self.message = message
self.details = details
self.cause = cause
self.traceback_string = "Unknown reason."
if cause:
self.traceback_string = "".join(traceback.format_exception(etype=type(cause), value=cause, tb=cause.__traceback__))
super().__init__(*args, **kwargs)

def __str__(self):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name='riptide-lib',
version='0.5.3',
version='0.5.4',
packages=find_packages(),
package_data={'riptide': ['assets/*']},
description='Tool to manage development environments for web applications using containers - Library Package',
Expand All @@ -19,7 +19,7 @@
install_requires=[
# TEMPORARY, see #2:
'idna <= 2.8',
'configcrunch >= 0.3.3',
'configcrunch >= 0.3.4',
'schema >= 0.6',
'pyyaml >= 5.1',
'appdirs >= 1.4',
Expand Down

0 comments on commit edafb84

Please sign in to comment.