[gjs: 6/7] modified messsage
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 6/7] modified messsage
- Date: Sun, 6 Jun 2021 16:45:17 +0000 (UTC)
commit eb8a6887d0c301bc6ccc5e1557798c0beccaab72
Author: veenanitk <veenanitks gmail com>
Date: Sun Jun 6 13:53:11 2021 +0530
modified messsage
modules/core/overrides/Gio.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/core/overrides/Gio.js b/modules/core/overrides/Gio.js
index 8d97f81d..6799b550 100644
--- a/modules/core/overrides/Gio.js
+++ b/modules/core/overrides/Gio.js
@@ -405,10 +405,10 @@ function* _listModelIterator() {
function _promisify(proto, asyncFunc, finishFunc) {
if (proto[asyncFunc] === undefined)
- throw new Error(`${asyncFunc}`);
+ throw new Error(`${proto} has no method named ${asyncFunc}`);
if (proto[finishFunc] === undefined)
- throw new Error(`${finishFunc}`);
+ throw new Error(`${proto} has no method named ${finishFunc}`);
if (proto[`_original_${asyncFunc}`] !== undefined)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]