Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
7e303d15
Kaydet (Commit)
7e303d15
authored
Haz 24, 2016
tarafından
Tim Graham
Kaydeden (comit)
GitHub
Haz 24, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Refs #12594 -- Removed obsolete exception handling in handle_uncaught_exception().
Since
859fc020
, this is no longer needed.
üst
78963495
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
exception.py
django/core/handlers/exception.py
+0
-4
No files found.
django/core/handlers/exception.py
Dosyayı görüntüle @
7e303d15
...
...
@@ -11,7 +11,6 @@ from django.core.exceptions import PermissionDenied, SuspiciousOperation
from
django.http
import
Http404
from
django.http.multipartparser
import
MultiPartParserError
from
django.urls
import
get_resolver
,
get_urlconf
from
django.utils
import
six
from
django.utils.decorators
import
available_attrs
from
django.utils.deprecation
import
RemovedInDjango20Warning
from
django.utils.encoding
import
force_text
...
...
@@ -131,9 +130,6 @@ def handle_uncaught_exception(request, resolver, exc_info):
if
settings
.
DEBUG
:
return
debug
.
technical_500_response
(
request
,
*
exc_info
)
# If Http500 handler is not installed, reraise the last exception.
if
resolver
.
urlconf_module
is
None
:
six
.
reraise
(
*
exc_info
)
# Return an HttpResponse that displays a friendly error message.
callback
,
param_dict
=
resolver
.
resolve_error_handler
(
500
)
return
callback
(
request
,
**
param_dict
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment