I would like to control errors in ZP in more convenient way.

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 180
Баллы
113

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
If I got your idea we would have an opportunaty to set status of error (in case it happen in the action): warning, error, message, disable. Right?
 

nevadahsot

Client
Регистрация
27.04.2012
Сообщения
106
Благодарностей
5
Баллы
18
record them?

registering on buddypress
all the error messages are recorded.
(I mean, if error happens, will be recorded.
it's error tag has no variations)


class="error">Error Messages</ (Just an examle)
------error messages between
html error tag (----Formats of them are very limited, I think.)
can be easily parsed.
Collect several these kind of tags,and check if one of them appears.
 

Вложения

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 180
Баллы
113
If I got your idea we would have an opportunaty to set status of error (in case it happen in the action): warning, error, message, disable. Right?
Sorry missed your answer. But yes you got my idea right and it is still pain in the ass to control errors. I'm spending too much time to copy and paste them from zennoposter to project maker to find it. Also when error happens next time then i'm copying it again and checking because i can not remember this long letter and number string what error generate.

In my proposed form - there is 4 options. If action is a must then we can click error boolean and enter source and message in human understandable language what action is this. and we do not need to copy every error and check it again and again. Same is with warning and info booleans - decide what boolean you need for errors and tick that. In this case you can check easy in zennoposter what errors happen often and think about what to change in your template. This is very great way how to debug templates in zennoposter. :-)

And last action is disable any error or any other records in logs to not record unnecessary strings in logs in case there is more actions after unsuccessful exit.

I'm really do not know why there is not many thanks, but in my view this is very useful feature....

I know that it is possible to edit Nlogs file but this is not a solution. :-)
And also to add C# to send messages and source to logs for every action is not good option.

Actually message or source field could be filed automatically from action comment.
And also if not any boolean ticked then everything working default as it is now.

Cheers
 
  • Спасибо
Реакции: nevadahsot и bigcajones

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 180
Баллы
113
Bump any news about this ? Is this added to idea collector ? If not then i would like to hear why this awesome function is not accepted from developers ? :-)
 

Baramon

Client
Регистрация
15.07.2011
Сообщения
316
Благодарностей
31
Баллы
28
Great idea, current log is awfully bad
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)