Changeset 6be4142 in mainline for uspace/app/bithenge/expression.c


Ignore:
Timestamp:
2012-08-12T04:53:47Z (13 years ago)
Author:
Sean Bartell <wingedtachikoma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b6b76d
Parents:
0153c87
Message:

Bithenge: print transform errors; fixes and fat.bh improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bithenge/expression.c

    r0153c87 r6be4142  
    464464        rc = bithenge_node_get(node, self->key, out);
    465465        bithenge_node_dec_ref(node);
     466        if (rc == ENOENT)
     467                return bithenge_scope_error(scope, "No member %t", self->key);
    466468        return rc;
    467469}
     
    549551                        return rc;
    550552        }
    551         return ENOENT;
     553        return bithenge_scope_error(scope, "No scope member %t", self->key);
    552554}
    553555
Note: See TracChangeset for help on using the changeset viewer.