Boss_news #36

Closed
madtrick opened this Issue Sep 8, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

madtrick commented Sep 8, 2012

Hi,

In the Usage section of the README file you say that:

boss_news:start() % If you want events

As if starting boss_news was optional. But It seems to be mandatory because after saving a record boss_record_lib:run_after_hooks is called which calls boss_news:update.

I didn't have boss_news gen_server running so I got an error. This one:

error,
     {exit,
         {noproc,
             {gen_server,call,
                 [{global,boss_news},
                  {created,"device_user-0",
                      [{id,"device_user-0"},{email,[]},{password,[]}]}]}},
         [{gen_server,call,2,[{file,"gen_server.erl"},{line,180}]},
          {boss_record_lib,run_after_hooks,3,
              [{file,"src/boss_record_lib.erl"},{line,20}]},
          {boss_db,save_record,1,[{file,"src/boss_db.erl"},{line,227}]},

Please change the README file so it makes clear that boss_news must be running or make it optional.

Contributor

evanmiller commented Jan 17, 2013

Thanks for the info. Probably making it optional is the way to go.

Contributor

evanmiller commented Jan 20, 2013

README has been updated.

2ed23f4

evanmiller closed this Jan 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment