OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from gae_libs.handlers import base_handler |
| 6 |
| 7 from backend.analysis import crash_analyzer |
| 8 from common.model import crash_analysis |
| 9 |
| 10 class AnalyzeCrash(base_handler.BaseHandler): |
| 11 |
| 12 def HandleGet(self): |
| 13 signature = self.request.get('signature', 'default') |
| 14 crash = crash_analysis.CrashAnalysis.Get(signature=signature) |
| 15 crash_analyzer.Analyze(crash.stacktrace) |
| 16 self.response.write('Backend is analyzing the Chrome crash %r' % crash) |
OLD | NEW |