diff options
author | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-08-03 10:21:23 -0500 |
---|---|---|
committer | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-08-03 10:21:23 -0500 |
commit | 23591a0dec82ca7c0fcb3a09c617c031dd2a9218 (patch) | |
tree | 0094e57c0a67c09742434cc538ace95eccf56dfa /src/fields/Doc.ts | |
parent | f4940b063a512e15723d62671b8e11619b1bfcd7 (diff) | |
parent | 9d2204b09a88315f4bb294dce3043a87e14ae45f (diff) |
merge
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 6d01785aa..f4505d475 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -409,7 +409,7 @@ export namespace Doc { // and returns the document who's proto is undefined or whose proto is marked as a base prototype ('isPrototype'). export function GetProto(doc: Doc): Doc { if (doc instanceof Promise) { - console.log("GetProto: error: got Promise insead of Doc"); + console.log("GetProto: warning: got Promise insead of Doc"); } const proto = doc && (Doc.GetT(doc, "isPrototype", "boolean", true) ? doc : (doc.proto || doc)); return proto === doc ? proto : Doc.GetProto(proto); |