6464d0a5fa
No more errors like this in the logs! ``` INFO 2018-01-05T18:33:15.942Z Message.saveErrors: null Error at file:///C:/Users/Test/AppData/Local/Programs/signal-desktop/resources/app.asar/js/libtextsecure.js:30:33 at file:///C:/Users/Test/AppData/Local/Programs/signal-desktop/resources/app.asar/js/libtextsecure.js:138:3 at file:///C:/Users/Test/AppData/Local/Programs/signal-desktop/resources/app.asar/js/libtextsecure.js:40718:3 ``` It has no information in the title, and then the callstack points to the `new Error()` line in the old `errors.js`. This change will include the actual error name and message details in the stack, and will include the original http error stack as well if provided.
57 lines
2.6 KiB
HTML
57 lines
2.6 KiB
HTML
<html>
|
|
|
|
<head>
|
|
<meta charset='utf-8'>
|
|
<title>libTextSecure test runner</title>
|
|
<link rel="stylesheet" href="../../components/mocha/mocha.css" />
|
|
</head>
|
|
<body>
|
|
|
|
<div id="mocha">
|
|
</div>
|
|
<div id="tests">
|
|
</div>
|
|
|
|
<script type="text/javascript" src="test.js"></script>
|
|
<script type="text/javascript" src="in_memory_signal_protocol_store.js"></script>
|
|
|
|
<script type="text/javascript" src="../components.js"></script>
|
|
<script type="text/javascript" src="../libsignal-protocol.js"></script>
|
|
<script type="text/javascript" src="../crypto.js"></script>
|
|
<script type="text/javascript" src="../protobufs.js" data-cover></script>
|
|
<script type="text/javascript" src="../errors.js" data-cover></script>
|
|
<script type="text/javascript" src="../storage.js" data-cover></script>
|
|
<script type="text/javascript" src="../protocol_wrapper.js" data-cover></script>
|
|
|
|
<script type="text/javascript" src="../event_target.js" data-cover></script>
|
|
<script type="text/javascript" src="../websocket-resources.js" data-cover></script>
|
|
<script type="text/javascript" src="../helpers.js" data-cover></script>
|
|
<script type="text/javascript" src="../stringview.js" data-cover></script>
|
|
<script type="text/javascript" src="../api.js"></script>
|
|
<script type="text/javascript" src="../sendmessage.js" data-cover></script>
|
|
<script type="text/javascript" src="../account_manager.js" data-cover></script>
|
|
<script type="text/javascript" src="../contacts_parser.js" data-cover></script>
|
|
<script type="text/javascript" src="../task_with_timeout.js" data-cover></script>
|
|
|
|
<script type="text/javascript" src="fake_api.js"></script>
|
|
|
|
<script type="text/javascript" src="errors_test.js"></script>
|
|
<script type="text/javascript" src="helpers_test.js"></script>
|
|
<script type="text/javascript" src="storage_test.js"></script>
|
|
<script type="text/javascript" src="crypto_test.js"></script>
|
|
<script type="text/javascript" src="protocol_wrapper_test.js"></script>
|
|
<script type="text/javascript" src="contacts_parser_test.js"></script>
|
|
<script type="text/javascript" src="generate_keys_test.js"></script>
|
|
<script type="text/javascript" src="websocket-resources_test.js"></script>
|
|
<script type="text/javascript" src="task_with_timeout_test.js"></script>
|
|
<script type="text/javascript" src="account_manager_test.js"></script>
|
|
|
|
<!-- Comment out to turn off code coverage. Useful for getting real callstacks. -->
|
|
<script type="text/javascript" src="blanket_mocha.js"></script>
|
|
|
|
<!-- Uncomment to start tests without code coverage enabled -->
|
|
<!-- <script type="text/javascript">
|
|
mocha.run();
|
|
</script> -->
|
|
</body>
|
|
</html>
|