mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
Merge pull request #13821 from atom/wl-notification-stack-detail
📝 Clarify that stack only has an effect if detail is present as well
This commit is contained in:
commit
4975493e80
@ -147,6 +147,7 @@ module.exports = class NotificationManager {
|
||||
// in the notification header. Defaults to `'flame'`.
|
||||
// * `stack` (optional) A preformatted {String} with stack trace
|
||||
// information describing the location of the error.
|
||||
// Requires `detail` to be set.
|
||||
//
|
||||
// Returns the {Notification} that was added.
|
||||
addError(message, options) {
|
||||
@ -177,6 +178,7 @@ module.exports = class NotificationManager {
|
||||
// in the notification header. Defaults to `'bug'`.
|
||||
// * `stack` (optional) A preformatted {String} with stack trace
|
||||
// information describing the location of the error.
|
||||
// Requires `detail` to be set.
|
||||
//
|
||||
// Returns the {Notification} that was added.
|
||||
addFatalError(message, options) {
|
||||
|
Loading…
Reference in New Issue
Block a user