Skip to content
This repository has been archived by the owner on Sep 19, 2019. It is now read-only.

Commit

Permalink
include dbname in database_does_not_exist error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Newson committed Mar 8, 2011
1 parent a25c7f0 commit 9219ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mem3_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ load_shards_from_db(#db{} = ShardDb, DbName) ->
?LOG_INFO("dbs cache miss for ~s", [DbName]),
build_shards(DbName, Props);
{not_found, _} ->
erlang:error(database_does_not_exist)
erlang:error(database_does_not_exist, ?b2l(DbName))
end.

load_shards_from_disk(DbName, DocId)->
Expand Down

0 comments on commit 9219ba0

Please sign in to comment.