25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
384 B

  1. # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
  2. # MIT License. See license.txt
  3. from __future__ import unicode_literals
  4. import webnotes
  5. from webnotes.webutils import render_blocks
  6. no_cache = 1
  7. no_sitemap = 1
  8. def get_context(context):
  9. error_context = {"error": webnotes.get_traceback()}
  10. error_context.update(context)
  11. return render_blocks(error_context)