Skip to content

Commit cb0eae1

Browse files
committed
fix(controller): pip8 error
1 parent 8080863 commit cb0eae1

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

rootfs/api/exceptions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def custom_exception_handler(exc, context):
4444
# No response means DRF couldn't handle it
4545
# Output a generic 500 in a JSON format
4646
if response is None:
47-
raise exc
4847
logging.exception('Uncaught Exception', exc_info=exc)
4948
set_rollback()
5049
return Response({'detail': 'Server Error'}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)

rootfs/api/models/service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class Service(AuditedModel):
1616
service_type = models.TextField(blank=False, null=False, unique=False)
1717
procfile_type = models.TextField(blank=False, null=False, unique=False)
1818

19-
2019
class Meta:
2120
get_latest_by = 'created'
2221
unique_together = (('app', 'procfile_type'), )

0 commit comments

Comments
 (0)