Skip to content

Commit

Permalink
exit error status
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeseibel committed Sep 4, 2024
1 parent 0593307 commit 311ed98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions endorsement/management/commands/reconcile_shared_drives.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright 2024 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0
import logging
import sys

from django.core.management.base import BaseCommand

Expand Down Expand Up @@ -40,3 +41,4 @@ def handle(self, *args, **options):
logger.error(
"Reconcile shared drives failed: {}".format(ex),
exc_info=True, stack_info=True)
sys.exit(1)

0 comments on commit 311ed98

Please sign in to comment.