diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-08 06:55:26 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-08 06:55:26 +0900 |
| commit | 6e34e77372bd74c85ebf5a6b4214c818231dbe8b (patch) | |
| tree | 614e46573693bb4e0b6d097fde88a52d1cd0fa1f /src/models/note.ts | |
| parent | Fix bug (diff) | |
| download | sharkey-6e34e77372bd74c85ebf5a6b4214c818231dbe8b.tar.gz sharkey-6e34e77372bd74c85ebf5a6b4214c818231dbe8b.tar.bz2 sharkey-6e34e77372bd74c85ebf5a6b4214c818231dbe8b.zip | |
Implement announce
And bug fixes
Diffstat (limited to 'src/models/note.ts')
| -rw-r--r-- | src/models/note.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/note.ts b/src/models/note.ts index 9b33bb76f1..f509fa66c8 100644 --- a/src/models/note.ts +++ b/src/models/note.ts @@ -112,7 +112,7 @@ export const pack = async ( _note = deepcopy(note); } - if (!_note) throw 'invalid note arg.'; + if (!_note) throw `invalid note arg ${note}`; const id = _note._id; |