Limit the message length in the notification
Summary:
Before this diff the notification fired for crash reporter had the entire callstack as its message, which is actually not required and it also makes a UI not good.
This diff just limits the message length
BUG:
{F154537911}
Reviewed By: passy
Differential Revision: D14594189
fbshipit-source-id: 663710e3e80be4367d0cc2a532fd4aa312cc0c1e
This commit is contained in:
committed by
Facebook Github Bot
parent
de46240272
commit
c422829beb
14
flow-typed/npm/unicode-substring.js
vendored
Normal file
14
flow-typed/npm/unicode-substring.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Copyright 2018-present Facebook.
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
* @format
|
||||
* @flow
|
||||
*/
|
||||
declare module 'unicode-substring' {
|
||||
declare export default function unicodeSubstring(
|
||||
baseString: string,
|
||||
start: number,
|
||||
end: number,
|
||||
): string;
|
||||
}
|
||||
Reference in New Issue
Block a user