temp: add error message to test logs

This commit is contained in:
matthewswspence 2024-09-04 15:26:54 -05:00
parent e2fde1f968
commit afd941e27f
No known key found for this signature in database
GPG key ID: FB458202A7852BA4

View file

@ -1,4 +1,5 @@
from __future__ import annotations
import traceback
from typing import Union
import logging
from django.apps import apps
@ -644,6 +645,8 @@ class DomainRequest(TimeStampedModel):
self.sync_organization_type()
self.sync_yes_no_form_fields()
logger.error(traceback.print_stack())
if self._cached_status != self.status:
self.last_status_update = timezone.now().date()