csd
csd copied to clipboard
Getting baddict error
Apparently in this file: https://github.com/OJ/csd/blob/Part4-20120215/apps/csd_web/src/csd_web_snippet_resource.erl
Extracting the corresponding value to key from the dist needs an additional call to dict:from_list. Related to updated versions of mochiweb/webmacine?
Line 17 should the read as follows: {ok, SnippetKey} = dict:find(key, dict:from_list(PathInfo)),
Thanks @dominikb1888, this is idneed a problem as a result of Webmachine changes. I'll be updating this in the final blog post in the series :) Thanks!